﻿using System;

namespace Lukianol
{
    public static class StringExtensions
    {
        public static string FormatString(this string format, params object[] args)
        {
            return String.Format(format, args);
        }

        public static bool IsNullOrWhitespace(this string value)
        {
            if (value == null)
                return true;

            return (value.Trim().Length == 0);
        }
    }
}